#ifndef __PROXY_CONFIG__
#define __PROXY_CONFIG__

#include "definitions.h"
#include "log.h"

/* Read the Configuration Data
 * FILE FORMAT: ListenIP,ListenPort,DestinationIP,DestinationPort,ServerInitiatedENQ
 * RETURN: Number of ProxyConfigs returned from file
 */
PROXYCONFIG** read_configfile(PROXYCONFIG** proxycollection, int* length);

// Properly deletes the contents of the proxy collection
void free_proxycollection(int length, PROXYCONFIG** proxycollection);

#endif // __PROXY_CONFIG__